            <?php slot('title') ?>
                    <?php echo sprintf('Zestawienie') ?>
                <?php end_slot(); ?>
                <?php 
                    slot('bodyId');
                        echo 'action';
                    end_slot(); 
                    slot('osiagnieciaActive');end_slot();
                ?>
            <?php use_helper('Date') ?>
            <?php 
                if ($sf_user->getGuardUser()->hasPermission(sfConfig::get('app_terapeuta_permission_name'))):
                    include_component('zestawienie', 'menuTerapeuta');
                else :
                    include_component('zestawienie', 'menu');
                endif; 
            ?>
                <div class="grid_10">
                    <div class="dashboard"> 
                        <?php $target_user = myTools::getUserById($person_id);?>
                        <h3>
                            Wyniki dla: 
                            <a href="<?php echo url_for('wyniki/wynikipacjentlista?personid='.$target_user->id ) ?>">
                                <?php if (file_exists('./uploads/sf_social_pics/'.$target_user->Profile->picture) && $target_user->Profile->picture !=null) { ?>
                                    <img alt="" title="" src="/uploads/sf_social_pics/<?php echo $target_user->Profile->picture ?>" /> 
                                <?php } else { ?>
                                    <img alt="" title="" src="/uploads/sf_social_pics/person-blank.gif" /> 
                                <?php } ?>
                            </a>
                            <a href="<?php echo url_for('wyniki/wynikipacjentlista?personid='.$target_user->id ) ?>">
                                <?php echo $target_user = myTools::getUserById($person_id);  ?>
                            </a>
                            
                        </h3> 
                        <div class="clear"></div>   
                        <?php 
                            if($error == 1): 
                                echo 'Problem z plikiem';
                            else: ?>
                            <div class="jpgraphCont">
                                <img src="<?php echo url_for('@wyniki_pacjenta_przebieg_rozgrywki_wykres?idresult='.$result_id); ?>" />
                            </div>
                            <div class="clear"></div>
                                <?php foreach ($data as $d): 
                                    echo $d.' ';
                                endforeach ?>  
                            <div class="clear"></div>                        
                        <?php endif; ?>
                    </div>
                </div>
		<div class="clear"></div>
                